package cn.itheima.web.action;

import com.opensymphony.xwork2.ActionSupport;

import cn.itheima.domain.LinkCustomer;
import cn.itheima.service.LinkCustomerService;
import cn.itheima.service.impl.LinkCustomerServiceImpl;

public class LinkCustomerAction extends ActionSupport {
   	private   LinkCustomerService   lin=new  LinkCustomerServiceImpl();
   	private LinkCustomer  l;
	public LinkCustomer getL() {
		return l;
	}
	public void setL(LinkCustomer l) {
		this.l = l;
	}
		public String add() throws Exception {
			  lin.save(l);
			return "add";
		}
}
